package com.yanfan.energy.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 楼栋表(Building)实体类
 *
 * @author makejava
 * @since 2022-10-08 14:54:32
 */
public class Building implements Serializable {
    private static final long serialVersionUID = 680043698397589382L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 楼层名字
     */
    private String name;
    /**
     * 面积
     */
    private String area;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;

    private Integer buildId;

    private String buildName;

    private List<Workshop> workshops;

    private WorkshopEnvironment workshopEnvironment;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Integer getBuildId() {
        return buildId;
    }

    public void setBuildId(Integer buildId) {
        this.buildId = buildId;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public List<Workshop> getWorkshops() {
        return workshops;
    }

    public void setWorkshops(List<Workshop> workshops) {
        this.workshops = workshops;
    }

    public WorkshopEnvironment getWorkshopEnvironment() {
        return workshopEnvironment;
    }

    public void setWorkshopEnvironment(WorkshopEnvironment workshopEnvironment) {
        this.workshopEnvironment = workshopEnvironment;
    }
}

